//原生的node.js
var http = require("http");

http.createServer(function(request, response) {
    response.writeHead(200, { 'Content-Type': 'text/plain' })
    response.end("first data");
}).listen(8888);

console.log("开始服务器");